package com.anosine.gpsl.android;

import java.io.File;

import android.os.Environment;

import com.anosine.gpsl.android.util.StringUtil;


/**  
 * @Title:  AppConstants 
 * @Package com.anosine.gpsl.android
 * @Description:   保存访问的接口网址   
 * @author: sunny     
 * @date:   2015-11-18   
 * @version V1.0     
 */  
public class AppConstants {
	private static String sCachePath;

    public static String getCachePath() {
        if (StringUtil.isEmptyOrNull(sCachePath)) {
            sCachePath = GPSLApp.getInstance().getCacheDir().getPath() + File.separator;
        }
        return sCachePath;
    }

	 // http请求网址
    public static final String sCommonUrl = "http://101.200.178.193";
    // 本地基础路径
    public static final String	PATH_BASE = Environment.getExternalStorageDirectory() + "/gpsl";
    // 下载更新apk存储路径
    public static final String	PATH_APK = PATH_BASE + "/Apk/";
    // 扫描的时间是否到达标志
   	public static boolean		sQR_CSAN_TIME_OUT			= false;
       // 扫描的Bundle 传值
   	public static final String	TAG_BUNDLEKEY_SCAN_RESULT	= "TAG_BUNDLEKEY_SCAN_RESULT";
}
